<?php if ($this->list) { ?>
<?php foreach ($this->list AS $key => $val) { ?>
<li class = "topic_list">
	<a data-message="&uid=<?php echo $val['topic_id']; ?>&card=topic" class="add_user_f user_msg" href="topic/<?php echo $val['url_token']; ?>"><img alt="<?php echo $val['topic_title']; ?>" src="<?php echo get_topic_pic_url('mid', $val['topic_pic']); ?>"></a>
	<p><span class="i_cl_02 i_right"><?php echo $val['discuss_count']; ?> 个站点 <?php if ($this->user_id) { ?><a class="i_add_attention<?php if ($val['has_focus']) { ?> cur<?php }?>" href="javascript:" onclick="focus_topic($(this), $(this).find('em'), <?php echo $val['topic_id']; ?>);"><em><?php if ($val['has_focus']) { ?>取消<?php } ?>关注</em></a><?php } ?></span><a href="topic/<?php echo $val['url_token']; ?>" class="i_glotopic"><?php echo $val['topic_title']; ?></a></p>
	<p class="p_txt i_cl_03"><?php echo nl2br(cjk_substr($val['topic_description'], 0, 64, 'UTF-8', '...')); ?></p>
</li>
<?php } ?>
<?php } ?>